
#pragma once
#ifndef CLIB_TYPE_H
#define CLIB_TYPE_H



/** 类型重命名 **/
#ifndef NULL
#define NULL (void*)0
#endif

#ifndef other
#define other
#endif

#ifndef owner
#define owner
#endif

#ifdef __cplusplus
extern "C" {
#endif

typedef unsigned char      u08_t;
typedef char               i08_t;
typedef unsigned short     u16_t;
typedef short              i16_t;
typedef unsigned int       u32_t;
typedef int                i32_t;
typedef unsigned long long u64_t;
typedef long long          i64_t;

#define     rn_ok           0
#define     rn_error       -1

#ifndef true
#define true	1
#endif

#ifndef false
#define false	0
#endif

#define clib_aligend(a)     __attribute__((__aligned__(a)))

#define CLIB_PATH_MAX       256

#ifdef __cplusplus
}
#endif

#endif